package com.machuxin.course.patterns.factory.method;


import com.machuxin.course.patterns.factory.simple.beans.AppleFruits;
import com.machuxin.course.patterns.factory.simple.beans.Fruits;

/**
 * 苹果厂只生产苹果
 */
public class AppleFactory implements FruitsFactory {

    public Fruits create() {
        return new AppleFruits();
    }
}
